package com.java2018.springmvc.book.service;

import com.java2018.springmvc.book.model.Book;
import com.java2018.springmvc.utils.entity.JsonResponse;

import java.util.List;

public interface BookService {

    List<Book> getAll();
    JsonResponse add(Book book) throws Exception;
}
